package com.talent.web.datasource.influxdb;//package com.talent.web.datasource.influxdb;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;

/**
* @ClassName：d1
 * @Author: hszhou
 * @Date: 2024/10/31 10:49
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@Measurement(name = "charge")
@Data
public class ChargeDischargeGun {

   @Column(tag = true)
    private String code;
    @Column
    private String tradeSerialNumber;
    @Column
    private int deviceModel;
    @Column
    private int deviceState;
    @Column
    private double outputVoltage;
    @Column
    private double outputCurrent;
    @Column
    private double outputPower;
    @Column
    private double inputVoltage;
    @Column
    private double inputCurrent;
    @Column
    private double inputPower;
    @Column
   private double threeEyeInsertionTemperature;
    @Column
    private double boxTemperature;
    @Column
    private int reserve1;
    @Column
    private int reserve2;
    @Column
    private int reserve3;
    @Column
    private int reserve4;
    @Column
    private int overCurrentState;
    @Column
    private int inputConnectorStatus;
    @Column
    private int leakageSelfCheck;
    @Column
    private int fireZeroPhaseErrorState;
    @Column
    private int groundingDetectionStatus;
    @Column
    private int relayAdhesionState;
    @Column
    private int threeEyeInsertionTemperatureStatus;
    @Column
    private int temperatureStatusInsideTheBox;
    @Column
    private int diodeDetection;
    @Column
    private int leakageState;
    @Column
    private int overVoltageAndUnderVoltageState;
    @Column
    private int gunConnectionStatus;

}
